﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.ServiceModel.Description;
using System.Security.Cryptography.X509Certificates;
using System.IdentityModel.Selectors;

namespace Sinacor.Infra.Service.Security.Authentication.ServiceCredentials
{
    public class SinacorServiceCredentials : System.ServiceModel.Description.ServiceCredentials
    {
        public SinacorServiceCredentials()
        {
        }

        protected SinacorServiceCredentials(SinacorServiceCredentials other)
            : base(other)
        {
        }

        public override SecurityTokenManager CreateSecurityTokenManager()
        {
            return new SinacorServiceCredentialsSecurityTokenManager(this);
        }

        protected override System.ServiceModel.Description.ServiceCredentials CloneCore()
        {
            return new SinacorServiceCredentials(this);
        }
    }

}
